package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.EmpInfoExample.*;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工岗位信息】详情展示对象")
@Data
public class EmpInfoPositionVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_NUMBER, example = E_NUMBER)
    private String number;

    @ApiModelProperty(notes = N_WORK_EMAIL, example = E_WORK_EMAIL)
    private String workEmail;

    @ApiModelProperty(notes = N_SUPERVISOR, example = E_SUPERVISOR)
    private String supervisor;

    @ApiModelProperty(notes = N_FORMAL_TYPE, example = E_FORMAL_TYPE)
    private Boolean formalType;

    @ApiModelProperty(notes = N_EMPLOY_TYPE, example = E_EMPLOY_TYPE)
    private Boolean employType;

    @ApiModelProperty(notes = N_MANAGER_FORM, example = E_MANAGER_FORM)
    private Integer managerForm;

    @ApiModelProperty(notes = N_WORK_CITY_ID, example = E_WORK_CITY_ID)
    private String workCityId;

    @ApiModelProperty(notes = N_WORK_CITY, example = E_WORK_CITY)
    private String workCity;

    @ApiModelProperty(notes = N_JOIN_DATE, example = E_JOIN_DATE)
    private Date joinDate;

    @ApiModelProperty(notes = N_DEP_ID, example = E_DEP_ID)
    private String depId;

    @ApiModelProperty(notes = N_POSITION_ID, example = E_POSITION_ID)
    private String positionId;

    @ApiModelProperty(notes = N_DEP_NAME, example = E_DEP_NAME)
    private String depName;

    @ApiModelProperty(notes = N_POSITION_NAME, example = E_POSITION_NAME)
    private String positionName;

    @ApiModelProperty(notes = N_LEVEL, example = E_LEVEL)
    private Integer level;

}

